/// statusName : "维保完成"
/// optNo : "20921"
/// optName : "langshiAdmin"
/// equipmentName : "消防栓"
/// equipmentSerialNumber : "002"
/// equipmentId : 3
/// status : 2
/// content : "维修完成"
/// optDate : "2022-03-18 18:55:39"
/// id : 6
/// createdBy : "5"
/// createdDate : "2022-03-18 18:55:39"
/// updatedBy : "5"
/// updatedDate : "2022-03-18 18:55:39"

class DeviceRepairRecordList {
  DeviceRepairRecordList({
      String? statusName,
      String? optNo,
      String? optName,
      String? equipmentName,
      String? equipmentSerialNumber,
      int? equipmentId,
      int? status,
      String? content,
      String? optDate,
      int? id,
      String? createdBy,
      String? createdDate,
      String? updatedBy,
      String? updatedDate,}){
    _statusName = statusName;
    _optNo = optNo;
    _optName = optName;
    _equipmentName = equipmentName;
    _equipmentSerialNumber = equipmentSerialNumber;
    _equipmentId = equipmentId;
    _status = status;
    _content = content;
    _optDate = optDate;
    _id = id;
    _createdBy = createdBy;
    _createdDate = createdDate;
    _updatedBy = updatedBy;
    _updatedDate = updatedDate;
}

  DeviceRepairRecordList.fromJson(dynamic json) {
    _statusName = json['statusName'];
    _optNo = json['optNo'];
    _optName = json['optName'];
    _equipmentName = json['equipmentName'];
    _equipmentSerialNumber = json['equipmentSerialNumber'];
    _equipmentId = json['equipmentId'];
    _status = json['status'];
    _content = json['content'];
    _optDate = json['optDate'];
    _id = json['id'];
    _createdBy = json['createdBy'];
    _createdDate = json['createdDate'];
    _updatedBy = json['updatedBy'];
    _updatedDate = json['updatedDate'];
  }
  String? _statusName;
  String? _optNo;
  String? _optName;
  String? _equipmentName;
  String? _equipmentSerialNumber;
  int? _equipmentId;
  int? _status;
  String? _content;
  String? _optDate;
  int? _id;
  String? _createdBy;
  String? _createdDate;
  String? _updatedBy;
  String? _updatedDate;

  String? get statusName => _statusName;
  String? get optNo => _optNo;
  String? get optName => _optName;
  String? get equipmentName => _equipmentName;
  String? get equipmentSerialNumber => _equipmentSerialNumber;
  int? get equipmentId => _equipmentId;
  int? get status => _status;
  String? get content => _content;
  String? get optDate => _optDate;
  int? get id => _id;
  String? get createdBy => _createdBy;
  String? get createdDate => _createdDate;
  String? get updatedBy => _updatedBy;
  String? get updatedDate => _updatedDate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['statusName'] = _statusName;
    map['optNo'] = _optNo;
    map['optName'] = _optName;
    map['equipmentName'] = _equipmentName;
    map['equipmentSerialNumber'] = _equipmentSerialNumber;
    map['equipmentId'] = _equipmentId;
    map['status'] = _status;
    map['content'] = _content;
    map['optDate'] = _optDate;
    map['id'] = _id;
    map['createdBy'] = _createdBy;
    map['createdDate'] = _createdDate;
    map['updatedBy'] = _updatedBy;
    map['updatedDate'] = _updatedDate;
    return map;
  }

}